<?php

namespace App;

use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable
{
    use Notifiable;
    //表名
    protected $table = 'users';

    //指定主键
    protected $primaryKey = 'id';

    protected $fillable = [
        'name',
        'email',
        'password'
    ];


}
